<%@page contentType="text/html"%><%@page pageEncoding="windows-1250"%>
<%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles"%>

<html:form action="/News/CreateOrUpdate" styleId="forma">
    <html:hidden property="id" />
    Title:<br>
    <div class="errorMessage"> 
        <html:errors property="title"/> 
    </div>
    <html:text property="title" size="60"/><br>
    Heading:<br>
    <div class="errorMessage"><html:errors property="heading"/></div>
    <html:textarea property="heading" cols="60" rows="10" />
    <br>
    Description:<br>
    <div class="errorMessage"><html:errors property="description"/></div>
    <html:textarea property="description" cols="60" rows="20" />
    <br>
    <a class="button" href="javascript: document.getElementById('forma').reset()">Reset</a>
    <a class="button" href="javascript: document.getElementById('forma').submit()">Submit</a>
</html:form>